package com.summer.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户金额评估实体
 */
public class UserMoneyRate implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer userId;		//用户id
	private Integer maxAmount;	//最大金额
	private Double creditVet;	//信审查询费率
	private Double accountManage;//账户管理费利率
	private Double accrual;		//实际利息利率
	private Date createTime; //创建时间
	private Date updateTime; //更新时间


	public UserMoneyRate() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getMaxAmount() {
		return maxAmount;
	}

	public void setMaxAmount(Integer maxAmount) {
		this.maxAmount = maxAmount;
	}

	public Double getCreditVet() {
		return creditVet;
	}

	public void setCreditVet(Double creditVet) {
		this.creditVet = creditVet;
	}

	public Double getAccountManage() {
		return accountManage;
	}

	public void setAccountManage(Double accountManage) {
		this.accountManage = accountManage;
	}

	public Double getAccrual() {
		return accrual;
	}

	public void setAccrual(Double accrual) {
		this.accrual = accrual;
	}

	public UserMoneyRate(Integer id, Integer userId, Integer maxAmount, Double creditVet, Double accountManage, Double accrual, Date createTime, Date updateTime) {
		this.id = id;
		this.userId = userId;
		this.maxAmount = maxAmount;
		this.creditVet = creditVet;
		this.accountManage = accountManage;
		this.accrual = accrual;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "UserMoneyRate{" +
				"id=" + id +
				", userId=" + userId +
				", maxAmount=" + maxAmount +
				", creditVet=" + creditVet +
				", accountManage=" + accountManage +
				", accrual=" + accrual +
				'}';
	}
}
